package client.ftp;

/**
 * This interface gives access to uploading and downloading files from a server
 * @author Robert
 */
public interface FTPInterface {
    /**
     * Uploads a file to a server
     * @param localfilepath The local path of the file to upload
     * @return True if uploaded successfully, false otherwise
     */
    public Boolean upload (String localfilepath);
    
    /**
     * Downloads a file from a server
     * @param remotefilepath The remote path of the file to download
     * @return True if downloaded successfully, false otherwise
     */
    public Boolean download (String remotefilepath);
    
    /**
     * loads all ftp related preferences and account details
     */
    public void loadSettings() ;
}
